/* 订单管理页面样式 */

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.orders-header h1 {
    font-size: 32px;
    color: #d4a200;
    font-family: 'Comic Sans MS', 'Microsoft YaHei', cursive, sans-serif;
}

.order-filters {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

/* 搜索框样式 */
.search-box {
    position: relative;
    width: 300px;
}

.search-box input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #ffd700;
    border-radius: 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #d4a200;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #d4a200;
}

/* 筛选组样式 */
.filter-group {
    display: flex;
    gap: 15px;
}

.filter-group select {
    padding: 10px 35px 10px 15px;
    border: 2px solid #ffd700;
    border-radius: 20px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    appearance: none;
    background: #fff url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%23d4a200"><path d="M6 9L0 0h12"/></svg>') no-repeat;
    background-position: right 15px center;
    transition: all 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #d4a200;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

/* 订单列表样式 */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #ffe5b4;
}

.order-info {
    display: flex;
    gap: 20px;
    color: #666;
}

.order-number {
    font-weight: bold;
}

.order-status {
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.paid {
    background: #cce5ff;
    color: #004085;
}

.order-status.processing {
    background: #d4edda;
    color: #155724;
}

.order-status.completed {
    background: #e2e3e5;
    color: #383d41;
}

.order-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.service-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-info i {
    font-size: 32px;
    color: #d4a200;
    background: #fffbe6;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-details h3 {
    font-size: 20px;
    color: #d4a200;
    margin-bottom: 8px;
    font-family: 'Comic Sans MS', 'Microsoft YaHei', cursive, sans-serif;
}

.service-details p {
    color: #666;
    margin: 5px 0;
}

.price-info .price {
    font-size: 24px;
    font-weight: bold;
    color: #d4a200;
}

.order-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* 分页控件样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 20px 0;
}

.page-info {
    color: #666;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .orders-header {
        flex-direction: column;
        align-items: stretch;
    }

    .order-filters {
        flex-direction: column;
    }

    .search-box {
        width: 100%;
    }

    .filter-group {
        flex-direction: column;
    }

    .order-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .price-info {
        align-self: flex-end;
    }

    .order-actions {
        justify-content: stretch;
    }

    .order-actions button,
    .order-actions a {
        flex: 1;
        text-align: center;
    }
} 